package org.edu.modules.sxjy.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;
import java.util.Objects;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecgframework.poi.excel.annotation.Excel;

/**
 * @author leidq
 * @create 2022-04-08 10:39
 */
@TableName("oss_file")
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "oss_file对象", description = "oss文件url存储")
public class OssFile implements Serializable {
    private static final long serialVersionUID = 1L;
    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty("id")
    private String id;
    @Excel(name = "文件名称", width = 15.0D)
    @ApiModelProperty("文件名称")
    private String fileName;
    @Excel(name = "文件地址", width = 15.0D)
    @ApiModelProperty("文件地址")
    private String url;
    @Excel(name = "创建人登录名称", width = 15.0D)
    @ApiModelProperty("创建人登录名称")
    private String createBy;
    @Excel(name = "创建日期", width = 15.0D)
    @ApiModelProperty("创建日期")
    private Date createTime;
    @Excel(name = "更新人登录名称", width = 15.0D)
    @ApiModelProperty("更新人登录名称")
    private String updateBy;
    @Excel(name = "更新日期", width = 15.0D)
    @ApiModelProperty("更新日期")
    private Date updateTime;

}
